package com.liusand.images.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author :liusha
 * packageName :com.liusand.images.config
 * fileName :Oss
 * creationTime :2022/12/23 17:09
 */
@Component
@Data
@ConfigurationProperties(prefix = "oss")
public class Oss {
    private String accessKey;
    private String secret;
    private String endpoint;
    private String bucketName;
    private String url;
}
